473,416 Members | 1,731 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Drop down roll over menu is dreamweaver

I am working on my website, and I am trying to make it so my menu bar is similar to the one on this website. I was told it requires css, but I am not sure how that works.

Can some provide me with a start, either code, or a very good tutorial website.

Thank you.
Sep 8 '07 #1
3 10324
drhowarddrfine
7,435 Expert 4TB
W3Schools .
Sep 8 '07 #2
here is some code that might be useful for you to build a horizontal navigation as the one this site using HTML/CSS:
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Navigation Example</title>
<style type="text/css">
#nav_cont{
border: 1px solid #000000;
overflow: auto;
background-color: #990000;
text-align: center;
}

#nav_cont ul{
width: 100%;
padding-left: 10px;
margin-left: 0px;
margin: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
background-color: #990000;
text-align: center;
}


#nav_cont li{
float: left;
}

#nav_cont ul a{
display: block;
width: 160px;
padding: 5px;
background-color: #990000;
color: #CCCCCC;
text-decoration: none;
border-bottom: 5px solid #990000;}

#nav_cont ul a:hover{
background-color: #FF0000;
color: #FFFFFF;
text-decoration: none;
border-bottom: 5px solid #FFFFFF;}

</style>
</head>
<body>

<div id="nav_cont">
<ul id="nav_list">
<!-- here you'll have to change the title, the text to be displayed and add the links -->
<li><a href="#" title="Home">Home</a></li>
<li><a href="#" title="About us">About us</a></li>

<li><a href="#" title="Buying">Buying properties</a></li>
<li><a href="#" title="Selling">Selling properties</a></li>
<li><a href="#" title="Services">Our Services</a></li>
</ul>
</div>
</body>
</html>
[/html]
enjoy!
Sep 9 '07 #3
Hi, im new to using dreamweaver but just wondered whether this process for horizontal drop downs work for vertical drop down menus aswell, if not how do they work?
Mar 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Smriti Dev | last post by:
Hi, I have a drop down menu with a listing of communities and I use it to select a community, selecting a letter ie. "T" , I get bumped to the "T" section to choose communities that start with...
4
by: laredotornado | last post by:
Hello, I am looking for some recommendations for JS/HTML code that will allow me to generate drop down menus, sort of like the ones here http://travelocity.com/ where you can see the drop down...
3
by: Andrew | last post by:
Hello, friends, I was asked to implement a .aspx page with drop down menus. When a mouse pointer moves over a menu bar, a drop down list containing sub-menus will show up. Thus a user may select...
4
by: cathy | last post by:
Hi All, I am having problems displaying content relevant to the option selected in a drop-down menu. I have an xml document which is running content through Flash and I need to have the same...
2
by: laredotornado | last post by:
Hi, I want to create roll-over drop down menus on my site using HTML/JS. The menu will appear a fixed amount from the top, but a relative amount to the right of another element. I have found...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
0
by: Czechfish | last post by:
My files are located here: HTML & SWF FLA I am trying to create a multi-tier drop down menu, but I can't get it to work. Maintime line, frame 1 - loads a mc. When you rollover the mc, this...
4
by: cctxman1942 | last post by:
Here is what I have done: Created a page with a drop down menu listing names of builders retrieved from a mysql database containing contact info for client builders. What I need to do, and so far...
3
by: nyalugwe | last post by:
Hello, I am not at all experienced in Javascript so please bear with me. I'm trying to create a drop-down menu that will work in IE, and trying to use some Javascript code that I got from here. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.